const seq = require('../connections/mysql_connect'),
      { STRING, INT, DECIMAL, TEXT } = require('../../config/db_type_config');

const ProblemTypeModel = seq.define('problem_type', {
  type_id: {
    content: '',
    type: INT,
    allowNull: false,
    unique: true
  },
  type_title: {
    content: '',
    type: STRING,
    allowNull: false
  },
})

// status: {
//   comment: 'agency_info_status', //控制是否显示
//   type: INT,
//   defaultValue: 1,
//   allowNull: true //设初始值要同时设置非空
// }

module.exports = ProblemTypeModel;